package com.zzq.service;


import com.aliyuncs.exceptions.ClientException;
import com.zzq.domain.dto.SmilePhotographerDTO;
import com.zzq.result.SmileResult;
import com.zzq.domain.entity.SmilePhotographer;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;


public interface PhotographerService {
     SmileResult photographerLogin(SmilePhotographer photographer);
     SmileResult photographerLoginOut();
     SmileResult photographerRegister(String code,SmilePhotographer photographer);

     SmileResult setAvatar(MultipartFile file) throws IOException, ClientException;


     SmileResult getPhotographerInfoById(Long photographerId);
     SmileResult getPhotographerKpiById(Long photographerId);

     /**
      * 设置提现行
      * @param smilePhotographerDTO
      * @return
      */
     SmileResult setPhotographerBank(SmilePhotographerDTO smilePhotographerDTO);

     SmileResult withdraw(Long photographerId);

     SmileResult getWithdrawRecordById(Long photographerId);
}
